@charset "utf-8";
@bgColorW:#ffffff;
@bgColorB:#24262F;
@bgColorG:#009688;
@bgColorBlue:#0180ff;
@ColorW:#fff;
@ColorB:#24262F;
.layui-layout-admin {
    .layui-side {
        position: absolute;
        top: 50px;
        width: 220px;
        background-color: #24262f;
        transition: all .3s;
        -webkit-transition: all .3s;
        box-shadow: 1px 0 2px 0 rgba(0,0,0,.05);
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        .layui-side-scroll {
            width: 240px;
            transition: all .3s;
            -webkit-transition: all .3s;
            .layui-nav {
                width: 220px;
                padding: 15px 0 0 0;
                transition: all .3s;
        -webkit-transition: all .3s;
                background-color: transparent;
                .layui-nav-more {
                    right: 15px;
                }
                .layui-nav-item,dd {
                    &>a {
                        padding-top: 8px;
                        padding-bottom: 8px;
                        cursor: pointer;
                    }
                    a {
                        height: 40px;
                        line-height: 40px;
                        padding-left: 45px;
                        padding-right: 30px;
                    }
                    .layui-icon {
                        position: absolute;
                        top: 50%;
                        left: 20px;
                        margin-top: -19px;
                    }
                    &>.layui-nav-child {
                        padding: 5px 0;
                        transition: all .3s;
                        -webkit-transition: all .3s;
                        a{
                            padding-top: 0px;
                            padding-bottom: 0px;
                        }
                        .layui-nav-child {
                            a {
                                padding-left: 60px!important;
                            }
                            .layui-nav-child {
                                a {
                                    padding-left: 80px!important;
                                }
                                .layui-nav-child {
                                    a {
                                        padding-left: 100px!important;
                                    }
                                    .layui-nav-child {
                                        a {
                                            padding-left: 120px!important;
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
                .layui-nav-itemed {
                    transition: all .3s;
                    -webkit-transition: all .3s;
                    &>.layui-nav-child {
                        padding: 5px 0;
                        transition: all .3s;
                        -webkit-transition: all .3s;
                        a{
                            padding-top: 0px;
                            padding-bottom: 0px;
                        }
                        .layui-nav-child {
                            a {
                                padding-left: 60px!important;
                            }
                            .layui-nav-child {
                                a {
                                    padding-left: 80px!important;
                                }
                                .layui-nav-child {
                                    a {
                                        padding-left: 100px!important;
                                    }
                                    .layui-nav-child {
                                        a {
                                            padding-left: 120px!important;
                                        }
                                    }
                                }
                            }
                        }
                    }
                    
                }
            }
        }
    }
    &.admin-nav-mini {
        .top-header {
            .top-logo {
                width: 60px;
                cite {
                    display: none;
                }
            }
            .top-nav-left {
                left: 0px;
            }
        }
        .layui-side {
            overflow-x: visible;
            width: 60px;
            .layui-side-scroll {
                overflow-x: visible;
            }
            .layui-nav {
                width: 60px;
                .layui-nav-item,dd {
                    position: relative;
                    &>a {
                        overflow: visible;
                        padding: 8px 20px;
                        &>cite{
                            display: none;
                        }
                        .layui-nav-more {
                            display: none;
                        }
                    }
                    &:hover {
                        .layui-nav-child {
                            display: block !important;
                            position: absolute;
                            left: 60px;
                            top: 0;
                            min-width: 200px;
                            z-index: 1001;
                            background: #222D32 !important;
                            visibility: visible;
                            .layui-nav-item,dd {
                                a {
                                    padding-top: 0;
                                    padding-bottom: 0;
                                    cite {
                                        display: block;
                                    }
                                    .layui-nav-more {
                                        display: block;
                                    }
                                }
                                .layui-nav-child {
                                    display: none!important;
                                    position: initial;
                                }
                                &.layui-nav-itemed {
                                    .layui-nav-child {
                                        display: block!important;
                                        box-shadow: none;
                                    }
                                }
                            }
                            
                        }
                    }
                }
                li {
                    &.layui-nav-itemed {
                        &>a {
                            background: rgba(0,0,0,.3)
                        }
                    }
                }
                .layui-nav-itemed {
                    .layui-nav-child {
                        display: none;
                    }
                }
            }
        }
        .layui-side-scroll {
            width: 80px;
        }
        .layui-body {
            left: 60px;
        }
        .layui-footer {
            left: 60px;
        }
    }
}
@media screen and (max-width: 720px){
	.admin-container {
        .top-header {
            .left-seraph {
                display: none;
            }
            .top-nav-right {
                #fullScreen {
                    display: none;
                }
                #theme {
                    display: none;
                }
            }
        }
        .layui-side {
            left: -260px;
        }
        &.layui-layout-admin {
            &.admin-nav-mini {
                .layui-body {
                    left: 0;
                }
            }
        }
        
        .layui-body {
            left: 0;
        }
        .site-tree-mobile {
            display: block!important;
            position: fixed;
            z-index: 999;
            bottom: 15px;
            left: 15px;
            width: 40px;
            height: 40px;
            line-height: 40px;
            border-radius: 2px;
            text-align: center;
            background-color: rgba(0,0,0,.7);
            color: #fff;
        }
        .layui-footer {
            left: 0;
        }
    }
    .site-mobile {
        .layui-side {
            left: 0;
            z-index: 1100;
        }
        .site-mobile-shade {
            content: '';
            position: fixed;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            background-color: rgba(0,0,0,.1);
            z-index: 999;
            cursor: pointer;
        }
    }
}
@media screen and (max-width:480px){
    .admin-container {
        .top-header {
            .top-logo {
                width: auto;
                padding: 0 5px;
            }
            .top-nav-right {
                padding: 0 5px;
                .layui-nav-item {
                    .usershow {
                        .adminName {
                            display: none;
                        }
                    }
                }
            }
        }
    }
}